QT       += core gui
QT       += sql
QT       += serialport
QT       += network
QT       += widgets charts
QT       += axcontainer
QT       += concurrent
QT       += qml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
INCLUDEPATH += $$PWD/PlatformFrameWork $$PWD/Login $$PWD/MainWidgetOperate $$PWD/MouseEvent $$PWD/Register $$PWD/SettingManage
INCLUDEPATH += $$PWD/SqliteManage $$PWD/ForgetPassword $$PWD/DataMonitor $$PWD/DeviceManage $$PWD/WarningManage $$PWD/DataAnalysis
INCLUDEPATH += $$PWD/UserManage $$PWD/SysSettings $$PWD/LogManage $$PWD/SerialPortManage

SOURCES += \
    DataAnalysis/dataanalysis.cpp \
    DataMonitor/barchartwidget.cpp \
    DataMonitor/datamonitor.cpp \
    DataMonitor/datareader.cpp \
    DataMonitor/historydatawidget.cpp \
    DataMonitor/linechartwidget.cpp \
    DataMonitor/monitorpointwidget.cpp \
    DataMonitor/serialconfigdialog.cpp \
    DeviceManage/adddevicegroup.cpp \
    DeviceManage/admindevicemanage.cpp \
    DeviceManage/devicemanage.cpp \
    DeviceManage/groupdeletedialog.cpp \
    DeviceManage/modigroupdialog.cpp \
    ForgetPassword/forgetpasswordwidget.cpp \
    LogManage/logclass.cpp \
    LogManage/logmanage.cpp \
    Login/centerwidget.cpp \
    MainWidgetOperate/centermainwidget.cpp \
    MouseEvent/mouseevent.cpp \
    PlatformFrameWork/framework.cpp \
    PlatformFrameWork/statusbar.cpp \
    PlatformFrameWork/titlebar.cpp \
    Register/registerwidget.cpp \
    SerialPortManage/serialportmanage.cpp \
    SettingManage/settingmanage.cpp \
    SqliteManage/sqlitemanage.cpp \
    SysSettings/syssettings.cpp \
    UserManage/adminusermanage.cpp \
    UserManage/usermanage.cpp \
    WarningManage/alarmrecordeditdialog.cpp \
    WarningManage/warningmanage.cpp \
    main.cpp \


HEADERS += \
    DataAnalysis/dataanalysis.h \
    DataMonitor/barchartwidget.h \
    DataMonitor/datamonitor.h \
    DataMonitor/datareader.h \
    DataMonitor/historydatawidget.h \
    DataMonitor/linechartwidget.h \
    DataMonitor/monitorpointwidget.h \
    DataMonitor/serialconfigdialog.h \
    DeviceManage/adddevicegroup.h \
    DeviceManage/admindevicemanage.h \
    DeviceManage/devicemanage.h \
    DeviceManage/groupdeletedialog.h \
    DeviceManage/modigroupdialog.h \
    ForgetPassword/forgetpasswordwidget.h \
    LogManage/logclass.h \
    LogManage/logmanage.h \
    Login/centerwidget.h \
    MainWidgetOperate/centermainwidget.h \
    MouseEvent/mouseevent.h \
    PlatformFrameWork/framework.h \
    PlatformFrameWork/statusbar.h \
    PlatformFrameWork/titlebar.h \
    Register/registerwidget.h \
    SerialPortManage/serialportmanage.h \
    SettingManage/settingmanage.h \
    SqliteManage/sqlitemanage.h \
    SysSettings/syssettings.h \
    UserManage/adminusermanage.h \
    UserManage/usermanage.h \
    WarningManage/alarmrecordeditdialog.h \
    WarningManage/warningmanage.h


FORMS += \
    DataAnalysis/dataanalysis.ui \
    DataMonitor/datamonitor.ui \
    DeviceManage/adddevicegroup.ui \
    DeviceManage/admindevicemanage.ui \
    DeviceManage/devicemanage.ui \
    DeviceManage/groupdeletedialog.ui \
    DeviceManage/modigroupdialog.ui \
    ForgetPassword/forgetpasswordwidget.ui \
    LogManage/logmanage.ui \
    Login/centerwidget.ui \
    MainWidgetOperate/centermainwidget.ui \
    PlatformFrameWork/framework.ui \
    PlatformFrameWork/statusbar.ui \
    PlatformFrameWork/titlebar.ui \
    Register/registerwidget.ui \
    SysSettings/syssettings.ui \
    UserManage/adminusermanage.ui \
    UserManage/usermanage.ui \
    WarningManage/warningmanage.ui


# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    src.qrc

DISTFILES +=
